
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>matminer.utils.tests package &#8212; matminer 0.5.4 documentation</title>
    <link rel="stylesheet" href="_static/nature.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
 
<link href='https://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>

  </head><body>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">matminer 0.5.4 documentation</a> &#187;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="matminer-utils-tests-package">
<h1>matminer.utils.tests package<a class="headerlink" href="#matminer-utils-tests-package" title="Permalink to this headline">¶</a></h1>
<div class="section" id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="module-matminer.utils.tests.test_caching">
<span id="matminer-utils-tests-test-caching-module"></span><h2>matminer.utils.tests.test_caching module<a class="headerlink" href="#module-matminer.utils.tests.test_caching" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="matminer.utils.tests.test_caching.TestCaching">
<em class="property">class </em><code class="descclassname">matminer.utils.tests.test_caching.</code><code class="descname">TestCaching</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_caching.TestCaching" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.util.testing.PymatgenTest</span></code></p>
<dl class="method">
<dt id="matminer.utils.tests.test_caching.TestCaching.test_cache">
<code class="descname">test_cache</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_caching.TestCaching.test_cache" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="module-matminer.utils.tests.test_conversions">
<span id="matminer-utils-tests-test-conversions-module"></span><h2>matminer.utils.tests.test_conversions module<a class="headerlink" href="#module-matminer.utils.tests.test_conversions" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="matminer.utils.tests.test_conversions.TestConversions">
<em class="property">class </em><code class="descclassname">matminer.utils.tests.test_conversions.</code><code class="descname">TestConversions</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_conversions.TestConversions" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="method">
<dt id="matminer.utils.tests.test_conversions.TestConversions.test_composition_to_oxidcomposition">
<code class="descname">test_composition_to_oxidcomposition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_conversions.TestConversions.test_composition_to_oxidcomposition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_conversions.TestConversions.test_dict_to_object">
<code class="descname">test_dict_to_object</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_conversions.TestConversions.test_dict_to_object" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_conversions.TestConversions.test_json_to_object">
<code class="descname">test_json_to_object</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_conversions.TestConversions.test_json_to_object" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_conversions.TestConversions.test_str_to_composition">
<code class="descname">test_str_to_composition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_conversions.TestConversions.test_str_to_composition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_conversions.TestConversions.test_structure_to_composition">
<code class="descname">test_structure_to_composition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_conversions.TestConversions.test_structure_to_composition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_conversions.TestConversions.test_structure_to_oxidstructure">
<code class="descname">test_structure_to_oxidstructure</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_conversions.TestConversions.test_structure_to_oxidstructure" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_conversions.TestConversions.test_to_istructure">
<code class="descname">test_to_istructure</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_conversions.TestConversions.test_to_istructure" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="module-matminer.utils.tests.test_data">
<span id="matminer-utils-tests-test-data-module"></span><h2>matminer.utils.tests.test_data module<a class="headerlink" href="#module-matminer.utils.tests.test_data" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="matminer.utils.tests.test_data.TestDemlData">
<em class="property">class </em><code class="descclassname">matminer.utils.tests.test_data.</code><code class="descname">TestDemlData</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_data.TestDemlData" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<p>Tests for the DemlData Class</p>
<dl class="method">
<dt id="matminer.utils.tests.test_data.TestDemlData.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_data.TestDemlData.setUp" title="Permalink to this definition">¶</a></dt>
<dd><p>Hook method for setting up the test fixture before exercising it.</p>
</dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_data.TestDemlData.test_get_oxidation">
<code class="descname">test_get_oxidation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_data.TestDemlData.test_get_oxidation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_data.TestDemlData.test_get_property">
<code class="descname">test_get_property</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_data.TestDemlData.test_get_property" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="matminer.utils.tests.test_data.TestMagpieData">
<em class="property">class </em><code class="descclassname">matminer.utils.tests.test_data.</code><code class="descname">TestMagpieData</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_data.TestMagpieData" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="method">
<dt id="matminer.utils.tests.test_data.TestMagpieData.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_data.TestMagpieData.setUp" title="Permalink to this definition">¶</a></dt>
<dd><p>Hook method for setting up the test fixture before exercising it.</p>
</dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_data.TestMagpieData.test_get_oxidation">
<code class="descname">test_get_oxidation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_data.TestMagpieData.test_get_oxidation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_data.TestMagpieData.test_get_property">
<code class="descname">test_get_property</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_data.TestMagpieData.test_get_property" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="matminer.utils.tests.test_data.TestMixingEnthalpy">
<em class="property">class </em><code class="descclassname">matminer.utils.tests.test_data.</code><code class="descname">TestMixingEnthalpy</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_data.TestMixingEnthalpy" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="method">
<dt id="matminer.utils.tests.test_data.TestMixingEnthalpy.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_data.TestMixingEnthalpy.setUp" title="Permalink to this definition">¶</a></dt>
<dd><p>Hook method for setting up the test fixture before exercising it.</p>
</dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_data.TestMixingEnthalpy.test_get_data">
<code class="descname">test_get_data</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_data.TestMixingEnthalpy.test_get_data" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="matminer.utils.tests.test_data.TestPymatgenData">
<em class="property">class </em><code class="descclassname">matminer.utils.tests.test_data.</code><code class="descname">TestPymatgenData</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_data.TestPymatgenData" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="method">
<dt id="matminer.utils.tests.test_data.TestPymatgenData.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_data.TestPymatgenData.setUp" title="Permalink to this definition">¶</a></dt>
<dd><p>Hook method for setting up the test fixture before exercising it.</p>
</dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_data.TestPymatgenData.test_get_oxidation">
<code class="descname">test_get_oxidation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_data.TestPymatgenData.test_get_oxidation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_data.TestPymatgenData.test_get_property">
<code class="descname">test_get_property</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_data.TestPymatgenData.test_get_property" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="module-matminer.utils.tests.test_flatten_dict">
<span id="matminer-utils-tests-test-flatten-dict-module"></span><h2>matminer.utils.tests.test_flatten_dict module<a class="headerlink" href="#module-matminer.utils.tests.test_flatten_dict" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="matminer.utils.tests.test_flatten_dict.FlattenDictTest">
<em class="property">class </em><code class="descclassname">matminer.utils.tests.test_flatten_dict.</code><code class="descname">FlattenDictTest</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_flatten_dict.FlattenDictTest" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="method">
<dt id="matminer.utils.tests.test_flatten_dict.FlattenDictTest.test_flatten_nested_dict">
<code class="descname">test_flatten_nested_dict</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_flatten_dict.FlattenDictTest.test_flatten_nested_dict" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="module-matminer.utils.tests.test_io">
<span id="matminer-utils-tests-test-io-module"></span><h2>matminer.utils.tests.test_io module<a class="headerlink" href="#module-matminer.utils.tests.test_io" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="matminer.utils.tests.test_io.IOTest">
<em class="property">class </em><code class="descclassname">matminer.utils.tests.test_io.</code><code class="descname">IOTest</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_io.IOTest" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.util.testing.PymatgenTest</span></code></p>
<dl class="method">
<dt id="matminer.utils.tests.test_io.IOTest.setUp">
<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_io.IOTest.setUp" title="Permalink to this definition">¶</a></dt>
<dd><p>Hook method for setting up the test fixture before exercising it.</p>
</dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_io.IOTest.tearDown">
<code class="descname">tearDown</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_io.IOTest.tearDown" title="Permalink to this definition">¶</a></dt>
<dd><p>Hook method for deconstructing the test fixture after testing it.</p>
</dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_io.IOTest.test_load_dataframe_from_json">
<code class="descname">test_load_dataframe_from_json</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_io.IOTest.test_load_dataframe_from_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matminer.utils.tests.test_io.IOTest.test_store_dataframe_as_json">
<code class="descname">test_store_dataframe_as_json</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_io.IOTest.test_store_dataframe_as_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="function">
<dt id="matminer.utils.tests.test_io.generate_json_files">
<code class="descclassname">matminer.utils.tests.test_io.</code><code class="descname">generate_json_files</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#matminer.utils.tests.test_io.generate_json_files" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</div>
<div class="section" id="module-matminer.utils.tests">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-matminer.utils.tests" title="Permalink to this headline">¶</a></h2>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">matminer.utils.tests package</a><ul>
<li><a class="reference internal" href="#submodules">Submodules</a></li>
<li><a class="reference internal" href="#module-matminer.utils.tests.test_caching">matminer.utils.tests.test_caching module</a></li>
<li><a class="reference internal" href="#module-matminer.utils.tests.test_conversions">matminer.utils.tests.test_conversions module</a></li>
<li><a class="reference internal" href="#module-matminer.utils.tests.test_data">matminer.utils.tests.test_data module</a></li>
<li><a class="reference internal" href="#module-matminer.utils.tests.test_flatten_dict">matminer.utils.tests.test_flatten_dict module</a></li>
<li><a class="reference internal" href="#module-matminer.utils.tests.test_io">matminer.utils.tests.test_io module</a></li>
<li><a class="reference internal" href="#module-matminer.utils.tests">Module contents</a></li>
</ul>
</li>
</ul>

  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="_sources/matminer.utils.tests.rst.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    </div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">matminer 0.5.4 documentation</a> &#187;</li> 
      </ul>
    </div>

    <div class="footer" role="contentinfo">
        &#169; Copyright 2015, Anubhav Jain.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.8.2.
    </div>

  </body>
</html>